package com.codi.bus.core.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 亲，写个类注释呗
 * @author asus
 * @date 2018-03-12 17:40
 */
@Accessors(chain = true)
@NoArgsConstructor
@Builder
@AllArgsConstructor
@Data
public class WalletAssets extends BaseDomain {
    private Long waWalletAssetsId;

    private Long waUserId;

    private BigDecimal waTotalAssets;

    private BigDecimal waTodayIncome;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date waNetValueDate;

    private BigDecimal waAccumIncome;

    private BigDecimal waShareIncome;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date waEffectTime;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date waCreateDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date waUpdateDate;

    private static final long serialVersionUID = 1L;
}